package com.liuyonggang.generator.service;

import java.util.List;

import com.liuyonggang.generator.model.ProjectInfo;
import com.liuyonggang.generator.util.PageInfo;
import com.liuyonggang.generator.util.ResultVo;

public interface ProjectInfoApi {
	
	int countModel();
	
	List<ProjectInfo> findAll(ProjectInfo task);

	PageInfo<ProjectInfo> findAllByPage(PageInfo<ProjectInfo> pageInfo);

    ProjectInfo findById(Integer id);

    ResultVo addProjectInfo(ProjectInfo projectInfo);

    ResultVo updateProjectInfo(ProjectInfo projectInfo);

    ResultVo deleteProjectInfo(ProjectInfo projectInfo);
}
